package cn.wit.test;

public class DemoNestFor {
	public static void main(String[] args) {

		for (int j = 0; j < 5; j++) {

			for (int i = 0; i < 5; i++) {
			
				if (i <= j)
					System.out.print("*");
				
			}

			System.out.println("");
		}
	}

}
